//
//  ServiceItemModel.m
//  Utils
//
//  Created by enghou on 2018/6/7.
//  Copyright © 2018年 xyxorigation. All rights reserved.
//

#import "ServiceItemModel.h"

@implementation ServiceItemModel
-(instancetype)initWithSource:(NSDictionary *)source{
    self = [super initWithSource:source];
    if (self) {
        self.ids = source[@"id"];
        self.title = [NSString stringWithFormat:@"%@(%@)",source[@"objectTypeName"],source[@"serviceObjects"]];//source[@"objectTypeName"];
        self.workContent = source[@"serviceContent"];
        self.workUserName = source[@"serviceMembers"];
        self.workTime = source[@"occurDate"];
        self.height += 10;
    }
    return self;
}
@end
